package group32.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

import group32.shared.User;

import java.sql.*;
import java.util.ArrayList;

public interface EditProfileServiceAsync {
    public void getFaculty(AsyncCallback<ArrayList<User>> asyncCallback);
    public void getUser(int userID,String utype,AsyncCallback<User> callback);
	public void updateUserSecurity(String username, String password,String newPass,AsyncCallback<Boolean> asyncCallback);
	public void updateUser(int id, User u, String type,AsyncCallback<Boolean> asyncCallback);

}
